package sun.superstring.polymorphise3;

public class Tortoise extends Animal {

    String name = "乌龟";
    @Override
    public void run() {
        System.out.println("乌龟跑的贼慢！！！");
    }

    // 乌龟缩头的方法
    public void shrinkHead() {
        System.out.println("乌龟缩头了！！！");
    }
}
